package com.hotel.reservation.service;

import com.hotel.reservation.po.NoticePo;

import java.util.List;
import java.util.Map;

/**
 * @version 0.1
 * @Author: oliver chen
 * @Description:
 * @Date:Create：in 2021/8/2 10:27
 * @Modified By：
 */
public interface NoticeService {
    List<NoticePo> selectAll();//查询所有酒店咨询
    List<NoticePo> selectAllRoomByPage(Map<String,Object> map);//分页查询
    NoticePo selectANotice(int noticeId);//按id查询
    Integer insertANotice(NoticePo noticePo);//新增一条资讯
    Integer alterANotice(NoticePo noticePo);//修改一条资讯
    Integer deleteANotice(int noticeId);//按资讯id删除
    Integer deleteNotice(List<Integer> noticeIds);//按资讯id删除
}
